// @flow
import React, { Component } from 'react';
import cx from 'classnames';
import './Landing.scss';

type Props = { landing: boolean, fullscreenLoader: boolean };

class Landing extends Component<Props> {
  render() {
    const { landing, fullscreenLoader } = this.props;
    return (
      <React.Fragment>
        {landing ? <div className={cx(fullscreenLoader ? 'Landing' : 'Landing-inner')} /> : null}
      </React.Fragment>
    );
  }
}

export default Landing;
